all: finalreport.pdf presentation.pdf

presentation.pdf: presentation.tex front.pdf back.pdf
	pdflatex presentation.tex

finalreport.pdf : finalreport.tex architecture.tex introduction.tex lessons.tex LRM.tex plan.tex appendix.tex svn_log.tex tutorial.tex arch.pdf
	pdflatex finalreport.tex
	pdflatex finalreport.tex


svn_log.tex :
	python make_svnlog_file.py

arch.pdf: arch.dot
	dot arch.dot -Tpdf -o arch.pdf

front.pdf: front.dot
	dot front.dot -Tpdf -o front.pdf

back.pdf: back.dot
	dot back.dot -Tpdf -o back.pdf

clean :
	rm *pdf *log *aux *toc *~